

 import React from 'react'
 class GaoJieB  extends React.Component{
     state = {
         name:"宫本",
         hobby:['无敌','寂寞','玩刀子']
     }
     todo(){
        console.log("GaoJieB");
     }
         render(){
             return(
                 <fieldset>
                     <legend>GaoJieB</legend>
                     <h1>{this.state.name}</h1>
                     <h2>{this.state.hobby}</h2>
                 </fieldset>
              )
         }
      }
 export default GaoJieB